package com.chixing.xml_parse;

public class Song {
    private String singerName;
    private String songName;
    private String publishYear;
    private String company;

    public Song() {
    }

    public Song(String singerName, String songName, String publishYear, String company) {
        this.singerName = singerName;
        this.songName = songName;
        this.publishYear = publishYear;
        this.company = company;
    }

    public String getSingerName() {
        return singerName;
    }

    public void setSingerName(String singerName) {
        this.singerName = singerName;
    }

    public String getSongName() {
        return songName;
    }

    public void setSongName(String songName) {
        this.songName = songName;
    }

    public String getPublishYear() {
        return publishYear;
    }

    public void setPublishYear(String publishYear) {
        this.publishYear = publishYear;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    @Override
    public String toString() {
        return "Song{" +
                "singerName='" + singerName + '\'' +
                ", songName='" + songName + '\'' +
                ", publishYear='" + publishYear + '\'' +
                ", company='" + company + '\'' +
                '}';
    }
}
